package com.cloudlead.commonData.vo;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.commonData.action.validator.TbMoudelValidatorGroup.*;

import javax.validation.constraints.Size;
import com.cloudlead.common.lang.annotation.Domain;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * TbMoudel is a Codegen vo type
 */
@Label("平台模块表")
@Domain(domainClassName="com.cloudlead.commonData.entity.ETbMoudel")
public class TbMoudel extends AbstractIdEntity<String> {

    private static final long serialVersionUID =13154939407719L;    
    @Label("备注")
    @Size(max=256)
    private String commont;

    @Label("删除标记")
    @Size(max=8)
    private String flag;

    @NotNull(groups={Update.class})
    @Label("模块编号")
    @Size(max=24)
    private String id;

    @Label("模块名字")
    @Size(max=45)
    private String moudelName;

    public String getCommont() {
        return commont;
    }

    public void setCommont(String commont) {
        this.commont = commont;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMoudelName() {
        return moudelName;
    }

    public void setMoudelName(String moudelName) {
        this.moudelName = moudelName;
    }

    public String toString() {
         return String.format("TbMoudel { commont : %s,flag : %s,id : %s,moudelName : %s }",commont,flag,id,moudelName);
    }

}

